package com.eleme.food.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 添加食品DTO
 */
@Data
public class FoodAddDTO {
    @NotBlank(message = "食品名称不能为空")
    private String foodName;
    @NotBlank(message = "商家ID不能为空")
    private String businessId;
    @NotNull(message = "价格不能为空")
    private BigDecimal price;
    private String description;
    private String imageUrl;
} 